package com.czl.base.data.bean.tengyun

import com.chad.library.adapter.base.entity.MultiItemEntity
import java.io.Serializable
import java.util.*

data class NoticeListBean(
    val endRow: Int,
    val hasNextPage: Boolean,
    val hasPreviousPage: Boolean,
    val isFirstPage: Boolean,
    val isLastPage: Boolean,
    val list: List<Data>
) : Serializable {
    data class Data(
        val announcementId: Int,
        val announcementTitle: String,
        val announcementIntroduction: String,
        val announcementContent: String,
        val companyId: Int,
        val companyName: String,
        val coverImage: String,
        val neighId: Int,
        val neighName: String,
        val publisherId: Int,
        val publisher: String,
        var readingVolume: Int,
        val releaseTime: Long,
        val releaseType: Int,
    ) : Serializable
}

data class HealthReportBean(
    val endRow: Int,
    val hasNextPage: Boolean,
    val hasPreviousPage: Boolean,
    val isFirstPage: Boolean,
    val isLastPage: Boolean,
    val total: Int,
    val list: List<Data>
) : Serializable {
    data class Data(
        var healthyId: Int = 0,
        var userId: Int = 0,
        var userName: String = "",
        var phone: String = "",
        var idCard: String = "",
        var province: String = "",
        var city: String = "",
        var community: String = "",
        var address: String = "",
        var healthyType: Int = 0,
        var suspected: String = "",
        var confirmed: Int? = null,
        var admitted: Int? = null,
        var temperature: String = "",
        var touching: Int = 0,
        var touchingTime: String = "",
        var touchingName: String = "",
        var touchingPhone: String = "",
        var lifeDifficulties: Int = 0,
        var difficulties: String = "",
        var healthyTime: Long = 0L,
        var houseId: String = "",
        var neighId: String = "",
        var neighName: String = "",
        var categoryId: Int = 0,
        var categoryName: String = "",
        var buildingId: Int = 0,
        var buildingName: String = "",
        var healthyRelativesInfoList: ArrayList<FamilyData> = arrayListOf()
    ) : Serializable
    data class FamilyData (
        var relativesType: Int = 0,
        var relativesName: String = "",
        var relativesPhone: String = "",
        var relativesCard: String = "",
        var temperature: String = "",
        var healthyType: Int = 0,
        var suspected: String = "",
        var confirmed: Int? = null,
        var admitted: Int? = null,
        var touching: Int = 0,
        var touchingTime: String = "",
        var touchingName: String = "",
        var touchingPhone: String = ""
    ) : Serializable
}

data class HealthUserBean(
    val data: Data,
    val state: Int,
    val errorCode: Int,
    val msg: String
) : Serializable {
    data class Data(
        val id: Int,
        val ownerId: Int,
        val ownerName: String,
        val ownerPhone: String,
        val certificatesType: Int,
        val idCard: String,
        val areaId: Int,
        val houseId: Int,
        val houseNo: String,
        val houseName: String,
        val checkInTime: Date,
        val communityId: String,
        val neighNo: String,
        val neighName: String,
        val address: String
    ) : Serializable
}

data class HousesPaymentBean(
    val totalAmount: Double? = null,
    val baseRoomInfoVOList: List<PaymentData>? = null
) : Serializable

class PaymentData(
    var billId: Int? = null,
    var billNo: String? = null,
    var billDate: Long? = null,
    var billDateStr: String? = null,
    var billEndDate: Long? = null,
    var billEndDateStr: String? = null,
    var buildId: String? = null,
    var buildName: String? = null,
    var payId: Int? = null,
    var payStatus: Int? = null,
    var payStatusName: String? = null,
    var payableDate: Long? = null,
    var payableDateShortStr: String? = null,
    var payableDateStr: String? = null,
    var payableMoney: String? = null,
    var isPay: Int? = null,
    var projectId: Int? = null,
    var projectName: String? = null,
    var roomId: String? = null,
    var roomName: String? = null,
    var storeyId: String? = null,
    var storeyName: String? = null,
    var ownerName: String? = null,
    var houseArea: String? = null,
    var subjectName: String? = null
) : Serializable

data class HouseOrderPayBean(
    val appid: String,
    val cusid: String,
    val payinfo: String,
    val randomstr: String,
    val reqsn: String,
    val retcode: String,
    val sign: String,
    val trxid: String,
    val trxstatus: String,
    val returl: String,
    val charset: String,
    val signtype: String,
    val validtime: String,
    val body: String,
    val notifyUrl: String,
    val version: String,
    val apiUrl: String,
    val trxamt: String
) : Serializable

